package com.didi.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.didi.gulimall.common.utils.PageUtils;
import com.didi.gulimall.product.entity.AttrGroupEntity;
import com.didi.gulimall.product.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 15:42:45
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {
    /**
     * 属性分组
     * @param params
     * @param catelogId
     * @return
     */
    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<SpuItemAttrGroupVo> getItemGroup(Long spuId, Long catalogId);
}

